package com.peng.service;

import com.peng.pojo.Dept;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface DeptService {
    boolean addDept(Dept dept);

    Dept queryId(long id);

    List<Dept> queryList();
}
